﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    internal abstract class Tank:IFireable,IRunnable
    {
        abstract public void Run();
        abstract public void Fire();
        abstract public void MultFire();

    }

    class SuperTank : Tank
    {
        public override void Fire()
        {
            Console.WriteLine("super tank fire");
        }

        public override void MultFire()
        {
            Console.WriteLine("super tank multifire");
        }

        public override void Run()
        {
            Console.WriteLine("super tank run");
        }
    }

    class HeavyTank : Tank
    {
        public override void Fire()
        {
            Console.WriteLine("heavy tank fire");
        }

        public override void MultFire()
        {
            Console.WriteLine("heavy tank multifire");
        }

        public override void Run()
        {
            Console.WriteLine("heavy tank run");
        }
    }


}
